Save image (transparent GIF) or link (ICON)


Some standard texts for EDF header fields

Bob Kemp, Alpo Värri, Thomas Penzel

6 February, 2001


The EDF specs do not prescribe standard texts for the EDF-header fields 'label' and 'physical dimension'. Therefore, EDF readers and analyzers cannot fully automatically:

Some analysis programs need this information and will have to interact with the user. That can be avoided by using standard texts in the EDF-header fields 'label' and 'physical dimension'. Such texts enable EDF analyzers to automatically recognize the signal labels and dimensions. This page lists these standard texts.

The listed texts comply with the official specs and therefore do not cause any incompatibility with EDF software. EDF import (reader/browser, analysis) software should abide by the official specs and not depend on the standard texts on this page. However, if the software detects that the imported file does contain standard texts, it can automatically recognize labels and dimensions. Even smarter software can correct obvious mistakes or suboptimal attempts to use the standard texts.

Standard texts are not required for EDF compatibility. However, they reduce the probability for errors and avoid the need for user input in some types of automatic analysis programs. Therefore, it is wise to use the standard texts wherever possible.

The standard texts have a simple standard structure in which simple standard components are put. Both are specified below.


Structure of the standard texts.
 

The standard 'label' structure.
The EDF 'label' field offers 16 ASCII characters. The standard structure that we propose here consists of three components, from left to right:

Of course, according to EDF, this standard text must be left justified in the 16-character field and then filled out with spaces. In this example, the standard label reads 'EEG Fpz-Cz       '. Further possibilities are listed in the components table below.
 

The standard 'physical dimension' structure.
The EDF 'physical dimension' field offers 8 ASCII characters.  The standard structure that we propose here consists of two components, from left to right:

Of course, according to EDF, this standard text must be left justified in the 8-character field and then filled out with spaces. In this example, the standard physical dimension reads 'uV      ', that is microvolt (note the use of a standard-ASCI 'u' rather than the forbidden non-standard-ASCI character 'µ'). Further possibilities are listed in the components table below.

Powers in a basic dimension  (for instance the basic dimension of a volume is: meters to the power 3) are noted by ^. Examples are m^3 for a volume or m/s^2 for acceleration. Some basic dimensions involve more complicated mathematical expressions, such as for instance in  kg*m/s^2. Of course, first everything between brackets must be evaluated. Then the evaluation order is:  prefix - powers - multiplication - division. In this example, the evaluation is ((kg)*m)/(s^2). As another example, km^2 means (1000m)^2, not 1000(m^2).

P.M.
These 16- and 8-character fields contain the standardized information about the type of signal and its dimension. Further, non-standardized, information can be stored in the 80-character fields 'Transducer Type' and 'Prefiltering'.


Components for the standard structures.

Table 1. Standard components for a variety of signals. The standard 'label' contains a 'Type' of signal and a 'Specification' component. The standard 'physical dimension' contains a 'Prefix' and a 'Basic' dimension component. The prefix multiplies or divides the basic dimension by factors of 10 till 10^24. Standard prefixes are listed in table 2.

As an illustration of the versatility of EDF, the table also shows some signals that have not yet been, but can easily be, applied in EDF files. In fact, any time-varying signal, from geology to medicine or the stock market, can be stored in EDF files. We are deliberately keeping the table incomplete for a lot of signals until these would be frequently applied in EDF files. At that time we would like to use the expertise from professionals in that field of application.
 
Signal Standard Label (16 ascii)
Standard Dimension (8 ascii)
  Type Specification Example Basic Example
Length or distance Dist any Dist A'dam-R'dam m km
Area Area any Area pupil m^2 mm^2
Volume Vol any Vol moon m^3 Mm^3
Duration Dur any Dur AP s ms
Velocity Vel any Vel light m/s Mm/s
Mass Mass any Mass body g mg
Angle Angle any Angle azimuth rad, deg rad, deg
Percentage % any % % %
Value (money) Value   Value table 2 NLG
           
Electroencephalogram EEG see below EEG Fpz-Cz V uV
Electrocardiogram ECG   ECG  V mV
Electroöculogram EOG   EOG horizontal V mV
Electroretinogram ERG   ERG left V uV
Electromyogram EMG   EMG LAT V mV
Magneto encephalogram MEG   MEG    
Magneto cardiogram MCG   MCG    
           
Temperature Temp any Temp rectal K, degC or degF degC
Respiration Resp table 3 Resp abdomen    
Oxygen saturation SaO2 any SaO2 finger %  
Light Light any Light sternum    
Sound Sound any Sound trachea    
Events Event any Event button    

The 'Specification' of an EEG signal consists of the location of the 'positive' electrode (that is the one whose potential adds to the signal) immediately followed by a '-' (minus) sign, which is then immediately followed by the location of the 'negative' electrode (that is the one whose potential is subtracted from the signal). For example, if the positive and negative electrode locations are Fpz and Cz, respectively, then the 'Specification' is Fpz-Cz and the standard label reads 'EEG Fpz-Cz       '. Standard 'positive' and 'negative' locations for EEG electrodes are in table 2.
    In some cases the 'positive' or 'negative' electrode is an average over more than one electrode. In that case, define this average between round brackets. For instance, the EEG between C3 and linked earlobes has label 'EEG C3-(A1+A2)  '. If one of the electrode locations is unknown or irrelevant (for instance because it is only used as a temporary reference), then use the text Ref, for instance in 'EEG C3-Ref       '. If more of such locations exist, then use the text Ref1, Ref2, and so on.



Table 2. Left section: dimension prefixes that multiply or divide the basic dimension by factors of 10 till 10^24. For example, the dimension uV means microVolt (10^-6 Volt, that is 0.000001 Volt), ms means millisecond and Ms means Megasecond. Note that the prefix 'u' is the standard-ASCII letter 'u', not the extended-ASCII letter 'µ'. Middle section: standard locations for EEG electrodes according to the international 10/20 system. For instance C3 denotes the Central-left electrode at position 3. Right section: the standard basic dimension for  a currency equals the standard abbreviation as used by banks.
Dimension prefixes: 
decimal power
Name Power Prefix
yotta 24 Y
zetta 21 Z
exa 18 E
peta 15 P
tera 12 T
giga 9 G
mega 6 M
kilo 3 K
hecto 2 H
deca 1 D
  0  
deci -1 d
centi -2 c
milli -3 m
micro -6 u
nano -9 n
pico -12 p
femto -15 f
atto -18 a
zepto -21 z
yocto -24 y
     
EEG electrodes:
standard locations
Intern. 10/20 system
Nz Fp1 Pg1 Sp1
Fpz Fp2 Pg2 Sp2
AFz      
Fz P1 C1 CP1
FCz P2 C2 CP2
Cz P3 C3 CP3
CPz P4 C4 CP4
Pz P5 C5 CP5
POz P6 C6 CP6
Oz P9    
Iz P10 O1 T3
    O2 T4
F1 FC1 AF3 T5
F2 FC2 AF4 T6
F3 FC3 AF7 T9
F4 FC4 AF8 T10
F5 FC5 PO3 TP7
F6 FC6 PO4 TP8
F7 FT7 PO7 TP9
F8 FT8 PO8 TP10
F9 FT9 A1 T1
F10 FT10 A2 T2
Currencies:
basic dimension
Name Dim.
Australia Dollar AUD
Austria Schilling ATS
Belgium Franc BEF
Brazil Real BRL
Canada Dollar CAD
Switzerland Franc CHF
Chile Peso CLP
China Yuan Renmimbi CNY
Euro EUR
United Kingdom Pound GBP
HongKong Dollar HKD
India Rupee INR
Israel New Shekel ILS
Japan Yen JPY
Mexico Peso MXP
Netherlands Guilder NLG
NewZealand Dollar NZD
Russian Ruble RUR
Singapore Dollar SGD
United States Dollar USD
South Africa Rand ZAR
ask your bank for more ...

Table 3. Standard specifications for respiration signals
chest abdomen oral nasal oro-nasal


Back to EDF